package com.gxkj.projects.myshopx.services;

import com.gxkj.common.exceptions.ValidateException;
import com.gxkj.common.utils.ListPager;
import com.gxkj.projects.myshopx.entitys.Suppliers;
import com.gxkj.projects.myshopx.entitys.User;
import com.gxkj.projects.myshopx.entitys.UserRank;


public interface UserRankService {

    public void doAddUserRank(User user , UserRank entity) throws ValidateException;

    public void doUpdateUserRank(User user , UserRank entity) throws ValidateException;

    public void doDeleteUserRank(User user, String id);

    public ListPager<UserRank> doPageHQL(int pagenNo, int pageSize, UserRank entity);

    public UserRank getById(String id);
}
